luci-mod-network: hint that property belongs to mesh
authorPaul Donald <[email protected]>
Mon, 3 Nov 2025 21:44:40 +0000 (22:44 +0100)
committerPaul Donald <[email protected]>
Mon, 3 Nov 2025 21:46:43 +0000 (22:46 +0100)
Hint also units with dBm.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit c935260b3026d805dd414bd266884cfe0600d03a)

modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js

index 88ebec21252340825481beeb3a75607e504a18fe..0b76478ca5f56e7a984eef9abd2dccbe50197493 100644 (file)
@@ -1057,7 +1057,8 @@ return view.extend({
                                o.default = '1';
                                o.depends('mode', 'mesh');
 
-                               o = ss.taboption('advanced', form.Value, 'mesh_rssi_threshold', _('RSSI threshold for joining'), _('0 = not using RSSI threshold, 1 = do not change driver default'));
+                               o = ss.taboption('advanced', form.Value, 'mesh_rssi_threshold', _('RSSI threshold for joining mesh'), _('0 = not using RSSI threshold, 1 = do not change driver default') + ' ' +
+                                       _('Units: dBm. Where -255 is weakest, and -10 is strong.'));
                                o.rmempty = false;
                                o.default = '0';
                                o.datatype = 'range(-255,1)';